@import url(./common.css);
@import url(./iconfont.css);
.cartop{
    background: #fff;
    height: 80px;
    margin: 20px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 30px;
}
.cartop li:nth-child(1){
    width: 40%;
}
.cartop li:nth-child(2),.cartop li:nth-child(3),.cartop li:nth-child(4),.carList div:nth-of-type(2),.carList div:nth-of-type(3),.carList div:nth-of-type(4){
    width: 15%;
}
.carList{
    background: #fff;
    padding: 0 30px;
    border-radius: 10px;
}
.carList li{
    height: 150px;
    border-bottom: 1px solid rgb(83, 83, 83);
    display: flex;
    align-items: center;
}
.carList li:last-child{
    border: none;
}
input[type="checkbox"]{
    width: 18px;
    height: 18px;
}
input[type="number"]{
    width: 50px;
    height: 20px;
}
.carList .left{
    width: 40%;
    display: flex;
    align-items: center;
}
.carList .left img{
    width: 75px;
    height: 95px;
    margin: 0 20px 0 10px;
}
.carList .left>div p:first-child{
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 10px;
}
.carList .left>div p:last-child{
    width: 300px;
    height: 60px;
    overflow: hidden; 
}
.carList div:nth-of-type(2),.carList div:nth-of-type(5){
    font-size: 22px;
}
.icon-shanchu{
    font-size: 30px;
    color: red;
}
.footer{
    width: 100%;
    background: #fff;
    height: 120px;
    position: fixed;
    bottom: 0;
    border-top: 1px solid rgb(212, 212, 212);
}
.footer>div{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer>div p:last-child span{
    color: red;
    font-size: 25px;
}
input[type='button']{
    background: rgb(31, 3, 5);
    border: none;
    width: 150px;
    height: 45px;
    font-size: 17px;
    color: #fff;
    margin-left: 10px;
    border-radius: 10px;
}
main{
    margin-bottom: 150px;
}
.num {
    width: 100px;
    height: 30px;
    border: 1px solid rgb(175, 175, 175);
    border-radius: 5px;
}
.num  a{
    width: 50px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    font-size: 16px;
}
#sub{
    border-right: 1px solid rgb(175, 175, 175);
}
#add{
    border-left: 1px solid rgb(175, 175, 175);
}
input[type='number']{
    text-align: center;
    width: 30px;
    height: 25px;
    border: none;
    font-size: 15px;
}